package name.bingo.bing.decorator;

/**
 * 测试类
 */
public class bingo {
    public static void main(String[] args) {
        //初始化仓配费用
        Charge charge=new CpCharge();
        //添加卸货费
        charge=new DownProduct(charge,10);
        //添加标签费
        charge=new LabelProduct(charge,20);

        System.out.println(charge.desc());
        System.out.println(charge.cost());
    }
}
